<?php 
	ob_start();
	session_start();
	ob_clean();
	include_once('../../common/init2.php');
	if(CM_getparameter(ACTION)!="login"){
		if(!session_is_registered('ssLogin')){
			CM_gotoPage("login.php");
		}
	}
	include_once(DIR_CONTROL."ctl_main.php");
	$objMain = new Ctl_Main($db);
	$modul=CM_getparameter(modul);
	$action=CM_getparameter(action);
	// ThanhTX add 2007.06.18 
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<meta http-equiv="pragma" content="no-cache" />
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>Welcome GLOBE admin</TITLE>
<link href="../../../css/base.css" REL="stylesheet" type="text/css">
<link href="../../../css/base2.css" REL="stylesheet" type="text/css">
<LINK HREF="../css/style.css" REL="stylesheet" TYPE="text/css">
<SCRIPT language=javascript src="../../javascript/functions.js" type=text/javascript></SCRIPT>
<SCRIPT language=javascript src="../javascript/globe.js" type=text/javascript></SCRIPT>

<SCRIPT>
function menu_onmouseout(obj)
{
	if(obj.className=="leftmenu_normal_on") return;
	obj.className="leftmenu_normal";
	obj.style.cursor="default";
}
function menu_onmouseover(obj)
{
	if(obj.className=="leftmenu_normal_on") return;
	obj.className="leftmenu_mouseover";
	obj.style.cursor="hand";
}
function menu_onclick(url)
{
	window.location=url;
}
</SCRIPT>
</HEAD>
<BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

<TABLE WIDTH="990" BORDER="1" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0" bordercolor="#B0DCFF">
 <TR> 
  <TD>
  <table width="100%">
	<tbody>
		<tr>
			<td  colspan="2" >
				<table style="border-collapse: collapse;" border="0" width="100%">
					<tbody><tr>
						<td class="shTdStyle0" colspan="2"><font face="MS UI Gothic"></font></td>
					</tr>
					<tr>
						<td style="font-size: 14pt; background-color: rgb(255, 221, 117); text-align: left;">
                        CÔNG TY CỔ PHẦN ĐẦU TƯ THƯƠNG MẠI GLOBE</td>
						<td style="font-size: 10pt; background-color: rgb(255, 221, 117); text-align: right;">
                        <div id="MainHeaderModule_timeNow" style="width: 424; height: 16">
                          Ngày gi&#7901;: 
						    <SCRIPT language=JavaScript src="../javascript/datetime.js" type=text/javascript></SCRIPT>
						  <SCRIPT language=JavaScript>dT();</SCRIPT>
						  </div>
						</td>
					</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td class="shTdStyle0" colspan="2" width="780" height="1"><font face="MS UI Gothic"></font></td>
		</tr>
		<tr>
			<td width="100%" colspan="2" align="right" style="font-size: 10pt; background-color: rgb(236, 248, 255);">
				<table width="100%" height="21" border="0" cellpadding="0" cellspacing="0" id="table1">
					<tr>
						<td width="705" align="left"><font color="#0000FF">www.globe.com.vn</font><font color="#0000FF"> &raquo; <?=$objMain->showMenu($modul,$action)?></font></td>
						<td width="273" align="right">
						<font color="#0000FF">Người quản trị:<?=$_SESSION["ho_ten"]?></font></td>
					</tr>
			  </table>	
			</td>
		</tr>
		<tr>
			<td class="shTdStyle0" colspan="2" width="780" height="1"><font face="MS UI Gothic"></font></td>
		</tr>
	</tbody>
</table>
  </TD>
 </TR>
 <TR> 
  <TD>
  <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	 <TR>
	  <TD width="100%">
      <TABLE WIDTH="100%" border="0" cellpadding="3"cellspacing="0" bordercolor="#0099FF" bordercolordark="white">
		 <TR>
		  <TD WIDTH="160" VALIGN="TOP"  >
			<TABLE WIDTH="160" BORDER="1" cellpadding="3" CELLSPACING="1" bordercolorlight="#C0C0C0">
			 <?php 
				showMenuLeft();
			 ?>
			 <TR> 
			  <TD CLASS="leftmenu_normal" onMouseOut="menu_onmouseout(this)" onMouseOver="menu_onmouseover(this)">&nbsp;<img src="../images/TriRBlue.gif" width="9" height="9"><A CLASS="leftmenu" HREF="?modul=admin&action=logout"> Thoát</A></TD>
			 </TR>			 
			 </TABLE>
			  <? include('../../webservice/supporter.php');?>
			 </TD>
			  <TD  VALIGN="TOP"  >		
				  <?php $objMain->execute("");?>
	   			  
			</TD>
		 </TR>
		</TABLE>
		</TD>
	 </TR>
	 </TABLE>	 
	 <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	 <TR>
	  <TD>
	  <table cellspacing="0" width="100%">
	<tbody>
		<tr>
			<td class="shTdStyle0" colspan="2" width="780" height="1"><font face="MS UI Gothic"></font></td>
		</tr>
	
		<tr>
			<td style="font-size: 8pt; color: gray; background-color: rgb(255, 221, 117); text-align: right;" width="567">
				<span id="MainFooterModule_Copyright">Copyright &copy; GLOBE. All Rights Reserved</span>
			</td>
		</tr>
		<tr>
			<td class="shTdStyle0" colspan="2" width="780" height="1"><font face="MS UI Gothic"></font></td>
		</tr>
			
	</tbody>
</table>

	  </TD>
	 </TR>
	 </TABLE></TD>
 </TR>
</TABLE>
<?php $db->close();?>
</BODY>
</HTML>